OSD: A Source Level Bug Localization Technique Incorporating Control Flow and State Information in Object Oriented Program
نویسنده
چکیده
Bug localization in object oriented program ha s always been an important issue in softeware engineering. In this paper, I propose a source level b u g l o c a l i z a t i o n technique for object oriented embedded programs. My proposed technique, presents the idea of debugging an object oriented program in class level, incorporating the object state information into the Class Dependence Graph (ClDG). Given a program (having buggy statement) and an input that fails and others pass, my approach uses concrete as well as symbolic execution to synthesize the passing inputs that marginally from the failing input in their control flow behavior. A comparison of the execution traces of the failing input and the passing input provides necessary clues to the root-cause of the failure. A state trace difference, regarding the respective nodes of the ClDG is obtained, which leads to detect the bug in the program.
منابع مشابه
Information Flow Control with System Dependence Graphs - Improving Modularity, Scalability and Precision for Object Oriented Languages
This work is concerned with the field of static program analysis —in particular with analyses aimed to guarantee certain security properties of programs, like confidentiality and integrity. Our approach uses socalled dependence graphs to capture the program behavior as well as the information flow between the individual program points. Using this technique, we can guarantee for example that a p...
متن کاملFault Localization for Java Programs using Probabilistic Program Dependence Graph
Fault localization is a process to find the location of faults. It determines the root cause of the failure. It identifies the causes of abnormal behaviour of a faulty program. It identifies exactly where the bugs are. Existing fault localization techniques are Slice based technique, ProgramSpectrum based Technique, Statistics Based Technique, Program State Based Technique, Machine learning bas...
متن کاملEntropy Guided Spectrum Based Bug Localization Using Statistical Language Model
Locating bugs is challenging but one of the most important activities in software development and maintenance phase because there are no certain rules to identify all types of bugs. Existing automatic bug localization tools use various heuristics based on test coverage, pre-determined buggy patterns, or textual similarity with bug report, to rank suspicious program elements. However, since thes...
متن کاملA Review: Bug Localization Using Ant Colony Optimization
Bug localization is the task to locate the source code entities which are relevant from the bug report. Manual bug localization is a time consuming task as developers has to go through thousands of source code entities to locate the relevant one. Current research provides methods as various IR techniques, classifiers, combination of classifiers to improve bug localization. Due to the increasing...
متن کاملChange Impact Identi cation in Object Oriented
Types of code changes in an object oriented library are described. A formal model for capturing and inferencing on the changes to identify aaected classes is described. The model consists of three types of diagrams: the object relation diagram (ORD), the block branch diagram (BBD), and the object state diagram (OSD). An ORD describes the inheritance, aggregation, and association relationships b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1108.4094 شماره
صفحات -
تاریخ انتشار 2011